﻿<!DOCTYPE html>
<html>
	<meta charset="UTF-8"/>
	<head>
		<script>
			var s1 = "abc";  //字面量
			var s2 = "abc";  
			var s3 = new String("abc");
			var s4 = new String("abc");
			
			console.log(s1 === s2);   //true
			console.log(s1 === s3);   //false
			console.log(s1 == s3);    //true
			console.log(s3 === s4);    //false
			console.log(s3 == s4);    //false
			
		</script>
	</head>
	<body>
		
	
	</body>	
</html>











